package p.ithorns.framework.core.exception;

/**
 * UserLoginException
 *
 * @author ithorns
 * @version 1.0
 * @date 2020/9/3 16:50
 */
public class UserLoginException extends RuntimeException {

    private String reason;

    public UserLoginException(String msg) {
        super(msg);
    }

    public UserLoginException(String msg, String reason) {
        super(msg);

        this.reason = reason;
    }

    public UserLoginException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public String getReason() {
        return reason;
    }
}
